Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Cannot connect to a 2nd pfsense firewall

    Scheduled Pinned Locked Moved Firewalling
    no route to hos
    11 Posts 4 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ccgllcC
      ccgllc
      last edited by

      I have two static Internet connections from my ISP; one at 216.146.215.8 and the other at ...13. I have current, up-to-date, pfSense firewires running on both.

      From behind each, I can access the internet, ping the firewall, the isp, etc.

      However, I can not access services from one to the other.

      I created an open ICMP rule on both, and they can now ping each other - so the network is fine (and its unlikely my ISP is doing anything strange).

      However only ICMP is now working, all other services are generating "No route to host" errors.

      For example, from a node on the .8 network:

      rackserv ~ # ping 216.146.251.13
      PING 216.146.251.13 (216.146.251.13) 56(84) bytes of data.
      64 bytes from 216.146.251.13: icmp_seq=1 ttl=62 time=2.09 ms
      64 bytes from 216.146.251.13: icmp_seq=2 ttl=62 time=1.01 ms
      64 bytes from 216.146.251.13: icmp_seq=3 ttl=62 time=1.42 ms
      ^C
      --- 216.146.251.13 ping statistics ---
      3 packets transmitted, 3 received, 0% packet loss, time 1999ms
      rtt min/avg/max/mdev = 1.016/1.511/2.090/0.442 ms
      rackserv ~ # man telnet
      rackserv ~ # telnet 216.146.251.13 15858
      Trying 216.146.251.13...
      telnet: Unable to connect to remote host: No route to host
      rackserv ~ # netstat -nr
      Kernel IP routing table
      Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
      0.0.0.0         172.16.4.1      0.0.0.0         UG        0 0          0 eth1
      172.16.4.0      0.0.0.0         255.255.252.0   U         0 0          0 eth1
      rackserv ~ # telnet 216.146.251.1
      Trying 216.146.251.1...
      telnet: Unable to connect to remote host: Connection refused
      

      (I included an attempt to telnet into my ISPs firewall just to show what I would expect to see if the service was not responding.)

      Any suggestions?

      1 Reply Last reply Reply Quote 0
      • ccgllcC
        ccgllc
        last edited by ccgllc

        Update: this appears to be tied to Advanced -> Firewall & NAT settings. Either "Enabled NAT Reflection for 1:1 NAT" or "Enable automoatic outbound NAT for Reflection", both of which I had switched on from a previous exploration of PURE NAT mode. Untoggling those two cleared up the situation... for about 30 seconds. That or it was just the firewall going through the "save".

        rackserv ~ # telnet 216.146.251.13 15858
        Trying 216.146.251.13...
        ^C
        rackserv ~ # telnet 216.146.251.13 15858
        Trying 216.146.251.13...
        telnet: Unable to connect to remote host: No route to host
        
        1 Reply Last reply Reply Quote 0
        • V
          viragomann
          last edited by

          I assume your public IPs are within the same subnet. So have you set the correct subnet mask for the WAN IPs, propably /29?

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            @ccgllc said in Cannot connect to a 2nd pfsense firewall:

            215.8 and the other at ...13. I have current, up-to-date, pfSense firewires running on both.

            What is the mask on this? The mentioned /29 would not be right because .8 would be the wire not a host.

            Are these in the same network... What is the mask setting on these 2 pfsense wan interfaces?

            How exactly are they connected to your isp? ISP device to a switch? 2 different ISP devices? Are the 2 wan interfaces connected to the same L2 on your side?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            ccgllcC 1 Reply Last reply Reply Quote 0
            • ccgllcC
              ccgllc @johnpoz
              last edited by ccgllc

              My ISP uses a full Class C for their static customers, so /24, which things are set at.

              216.146.251.1 is my upstream gateway for both.

              ![http://puu.sh/Bj6Hw/3b4e78c927.png](image url)

              ![http://puu.sh/Bj6M7/89b5304164.png](image url)

              Both are indendant fibre channel glass cables connecting into the ISP equipment at their facility.

              1 Reply Last reply Reply Quote 0
              • JKnottJ
                JKnott
                last edited by

                @ccgllc said in Cannot connect to a 2nd pfsense firewall:

                My ISP uses a full Class C for their static customers, so /24, which things are set at.

                Address classes are obsolete since the introduction of CIDR. You just have a /24.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                ccgllcC 1 Reply Last reply Reply Quote 0
                • ccgllcC
                  ccgllc @JKnott
                  last edited by

                  @jknott said in Cannot connect to a 2nd pfsense firewall:

                  @ccgllc said in Cannot connect to a 2nd pfsense firewall:

                  My ISP uses a full Class C for their static customers, so /24, which things are set at.

                  Address classes are obsolete since the introduction of CIDR. You just have a /24.

                  OK. I'm old. I'm obsolete. I remember when Gopher was cool new tech. You still got the point.

                  JKnottJ 1 Reply Last reply Reply Quote 0
                  • JKnottJ
                    JKnott @ccgllc
                    last edited by

                    @ccgllc said in Cannot connect to a 2nd pfsense firewall:

                    OK. I'm old. I'm obsolete.

                    See my sig, 😉

                    PfSense running on Qotom mini PC
                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                    UniFi AC-Lite access point

                    I haven't lost my mind. It's around here...somewhere...

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      So you have a /24 and there is no local L2 network.. And run to your isp that still should be the same L2.. If you can not talk to either then that is on your ISP..

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      ccgllcC 1 Reply Last reply Reply Quote 0
                      • ccgllcC
                        ccgllc @johnpoz
                        last edited by

                        @johnpoz Expect that both work fine independantly, and now that I've opened up ICMP, pings work between then. TCP/IP does not.

                        Still, I'll ask. But not expecting much from them. Given that the pings work, they are going to point back to my firewalls.

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          Here is the thing.. So you have this at a logical level..

                          You have this

                          0_1535054896055_nutshell.png

                          Your trying to talk to .13 from .8 that are in the same network.. So sniff on .13, do you see the traffic from .8? If you see it then problem in your forward, if you do not see it then problem at the ISP.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.